package com.gj.support;

import com.gj.model.register.DynamicThreadPoolRegisterWrapper;
import com.gj.remote.HttpAgent;

public class DynamicThreadPoolConfigService {

    private final HttpAgent httpAgent;

    public DynamicThreadPoolConfigService(HttpAgent httpAgent) {
        this.httpAgent = httpAgent;
    }

    public void registerDynamicThreadPool(DynamicThreadPoolRegisterWrapper requestParam) {
        httpAgent.httpPost("/config/register", requestParam);
    }
}
